package com.feizhou.httpdemo2.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 描述该类- JPA
 *
 * @author zhoufei
 * @class: BeanConfig
 * @date 2020/12/3  19:59
 * @Verson 1.0 -2020/12/3  19:59
 * @see
 */
@Configuration
public class BeanConfig {


    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

}